package com.whmskj.xjlhsc.schedul.async.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 异迁机日报
 *
 * @author lk
 * @since 2025-07-14 09:54:47
 */
@Data
@TableName("yixianji_report")
public class YiqianjiReport implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 机台id
     */
    @TableField(value = "mesid")
    private Integer deviceId;

    /**
     * 日期
     */
    @TableField(value = "record_date")
    private String dateYmd;

    /**
     * 机台名称
     */
    @TableField(value = "Machinenumber")
    private String deviceName;

    /**
     * 总喷气次数
     */
    @TableField(value = "Item00")
    private Double totalJet;

    /**
     * 色彩喷气次数
     */
    @TableField(exist = false)
    private Double colorJet;

    /**
     * 地膜喷气次数
     */
    @TableField(value = "Item14")
    private Double plasticFilmSpraying;

    /**
     * 荧光喷气次数
     */
    @TableField(exist = false)
    private Double fluorescentJet;

    private Double Item06;
    private Double Item07;
    private Double Item08;
    private Double Item09;
    private Double Item10;
    private Double Item11;
    private Double Item12;
    private Double Item13;

    @TableField(value = "Item15")
    private Double t0;
    @TableField(value = "Item16")
    private Double t1;
    @TableField(value = "Item17")
    private Double t2;
    @TableField(value = "Item18")
    private Double t3;
    @TableField(value = "Item19")
    private Double t4;
    @TableField(value = "Item20")
    private Double t5;
    @TableField(value = "Item21")
    private Double t6;
    @TableField(value = "Item22")
    private Double t7;
    @TableField(value = "Item23")
    private Double t8;
    @TableField(value = "Item24")
    private Double t9;
    @TableField(value = "Item25")
    private Double t10;
    @TableField(value = "Item26")
    private Double t11;
    @TableField(value = "Item27")
    private Double t12;
    @TableField(value = "Item28")
    private Double t13;
    @TableField(value = "Item29")
    private Double t14;
    @TableField(value = "Item30")
    private Double t15;
    @TableField(value = "Item31")
    private Double t16;
    @TableField(value = "Item32")
    private Double t17;
    @TableField(value = "Item33")
    private Double t18;
    @TableField(value = "Item34")
    private Double t19;
    @TableField(value = "Item35")
    private Double t20;
    @TableField(value = "Item36")
    private Double t21;
    @TableField(value = "Item37")
    private Double t22;
    @TableField(value = "Item38")
    private Double t23;

    @TableField(exist = false)
    private List<String> dateRange = new ArrayList<>();

    public Double getFluorescentJet() {
        return Item08+Item10;
    }

    public Double getColorJet() {
        return Item06+Item07+Item09+Item11+Item12+Item13;
    }
}
